Pod::Spec.new do |spec|

  # 库的说明
  spec.name         = "WGTool"
  spec.version      = "0.0.2"
  spec.summary      = "A short description of WGTool."

  spec.description  = <<-DESC
    工具类
                   DESC
  #
  spec.homepage     = "https://gitee.com/aoshi_435/wgtool"
  spec.license      = "MIT"

  #作者信息
  spec.author       = { "崔志伟" => "czwaizbq@163.com" }

  #deployment_target
  spec.platform     = :ios
  spec.ios.deployment_target = "9.0"
  
  #gi仓库source
  spec.source     = { :git => "https://gitee.com/aoshi_435/wgtool.git", :tag => "#{spec.version}" }

  # Category模块
  spec.subspec 'Category' do |ss|
    ss.source_files = 'Category/**/*'
    ss.public_header_files = 'Category/**/*.h'
  end
  
#  spec.source_files  = "Classes", "Classes/**/*.{h,m}"
#  spec.exclude_files = "Classes/Exclude"
# spec.public_header_files = "Classes/**/*.h"

   # 兼容M1芯片
  spec.pod_target_xcconfig =  { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
  spec.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }

end
